//
// Created by jyh on 2021/8/6.
//

#ifndef BBOVRSCHIP_RNXEPHUTILS_H
#define BBOVRSCHIP_RNXEPHUTILS_H

#include "Com.h"


int BrdUtils_m_brd2xyz(const char* mode,const char* cprn,int wk,double sow,double* xsat,double* clk,double* dtmin,double* tgd,int* iode);
int BrdUtils_m_gls2xyz(const char* mode,const char* cprn,int wk,double sow,double* xsat,double* clk,double* dtmin,int* iode);
int BrdUtils_m_geph2xyz(struct GPSEPH* eph,const char* mode,int wk,double sow,double* xsat,double* clk);
int BrdUtils_m_reph2xyz(struct GLSEPH* ephr,const char* mode,int wk,double sow,double* xsat,double* clk);

void BrdUtils_glsinit(double* x,struct GLSEPH eph);
void BrdUtils_glsrkf4(double h, double* x, struct GLSEPH eph);
void BrdUtils_glsfright(double* x, double* acc,struct GLSEPH eph);
void BrdUtils_pz902wgs84(int mjd, double sod, double* pos, double *xsat, const char* trans);

#endif //BBOVRSCHIP_RNXEPHUTILS_H
